from django.shortcuts import render

# Create your views here.
from django.http import HttpResponse

from .models import Egame,Roleinfo,GameInfo,Zuhe,RoleEvent

def index(request):
    games = Egame.objects.all() 
    #return HttpResponse("Hello,my dear!")
    return render(request, 'index.html')

def listGames(page = 1, pageSize = 30):
    games = Egame.objects.all()
    print(games)

